-
Notifications
You must be signed in to change notification settings - Fork 0
Style/improve UI consistency #63
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup, the image upload area and the auth cards look much more consistent now! I will approve at this time, but I did identify two smaller things that should be looked at before merging. See comments below.
| box-sizing: border-box; | ||
| width: 2.5rem; | ||
| min-width: 2.5rem; | ||
| height: 2.5rem; | ||
| min-height: 2.5rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The handle went from min-width/min-height: var(--target-size-min) (2.75rem) to a fixed 2.5rem. Our style guide (styles/style_guide/SKILL.md) says touch-oriented controls must use --target-size-min, and this handle is a pointer/touch drag target (touch-action: none). It also no longer matches the new __delete-control right next to it, which does use --target-size-min, so the two controls in each row end up different sizes. Please use var(--target-size-min) for width/height/min-width/min-height instead of 2.5rem.
* Style/improve UI consistency (#63) * style(recipes): improve recipe form layout and image upload UI * style(recipes): improve drag handle styling and alignment * style(auth): refine login and registration form spacing * test: update tests * Chore/add seeded recipes (#62) * chore(recipes): add seeded recipes with local images * fix(seed): isolate test image uploads from application storage * docs: update documentation --------- Co-authored-by: Ole Stangeland <olestan@stud.ntnu.no>
…main) (#66) * Style/improve UI consistency (#63) * style(recipes): improve recipe form layout and image upload UI * style(recipes): improve drag handle styling and alignment * style(auth): refine login and registration form spacing * test: update tests * Chore/add seeded recipes (#62) * chore(recipes): add seeded recipes with local images * fix(seed): isolate test image uploads from application storage * docs: update documentation * Hasan/fix/review accessibility performance (#65) * Improve recipe sorting, query caching and accessibility coverage * docs: summarize delivery 3 review improvements and HTTPS clarification --------- Co-authored-by: hasan.fawzi <hasan.fawzi@hoglund.no> --------- Co-authored-by: Ole Stangeland <olestan@stud.ntnu.no> Co-authored-by: Hasan Mohammad Fawzi <hasanmo@stud.ntnu.no> Co-authored-by: hasan.fawzi <hasan.fawzi@hoglund.no>
Summary
Improved visual consistency, responsiveness, and usability across the authentication pages, recipe creation form, and recipe detail page. Changes primarily affect styling, layout, and user interactions.
The changes focus on making the interface more consistent with the Explore page while improving image uploads, form interactions, and accessibility.
Changes
Authentication pages
Recipe creation
Ingredients and instructions
Recipe details
Testing
npm run checknpm run testAI usage
AI assistance was used to suggest styling improvements, refine CSS, and improve the layout and interaction design.